function handle = bwimage(i)
% bwimage(i) displays grayscale image.
% i is a luminance matrx of valus in range [0.0 1.0]
% AUTOSTOP

% create rgb map
% TODO limit range to 0-1
rgb(:,:,1) = i;
rgb(:,:,2) = i;
rgb(:,:,3) = i;

handle = image( rgb );
